//
//  ZJTabBar.h
//  zjzb
//
//  Created by Mac on 2017/3/24.
//  Copyright © 2017年 Mac. All rights reserved.
//

#import <UIKit/UIKit.h>

@class ZJTabBar;

typedef void(^TabbarClick)(ZJTabBar * tabbar,NSInteger idx);

@protocol ZJTabBarDelegate <NSObject>

@optional
-(void)zjtabbar:(ZJTabBar *)tabbar WithIndex:(NSInteger)index;

@end

@interface ZJTabBar : UIView


@property(nonatomic,weak)id<ZJTabBarDelegate> delegate;


@property (nonatomic, copy)TabbarClick block;

@end
